﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using QL_DTTN.DTO.DTO;
namespace QL_DTTN.TTKT.BUS
{
   public static class ThiSinh_Bus
    {
       public static DataTable dataTable()
       {
           return new ThiSinh().selectAll();
       }
       public static ThiSinh getThiSinh(string soBaoDanh)
       {
           return new ThiSinh().getThiSinh(soBaoDanh);
       }   
       public static DataTable getData(string key, Int16? maTinh, string maTruong, Int16? maHeDaoTao, string maDoiTuong, Int64? maKyThi) {
           return new ThiSinh().getData(key, maTinh??0, maTruong, maHeDaoTao??0, maDoiTuong, maKyThi??0);
       }
       public static DataTable DataSoBaoDanh(long maKyThi,long maMonThi,short maTinh)
       {
           return new ThiSinh().dtSoBaoDanh(maKyThi, maMonThi, maTinh);
       }
       public static long TongSo(long maKyThi)
       {
           return new ThiSinh().TongSo(maKyThi);
       }
       public static int SoThiSinh(long maKyThi, long maMonThi, short maTinh)
       {
           return new ThiSinh().SoThiSinh(maKyThi, maMonThi, maTinh);
       }
       
    }
}
